package com.senac.exception;


public class GerenciamentoEscolaException extends Exception {

	private static final long serialVersionUID = -2807624141005441038L;

	public enum ERROR {USER_NAME_EMPTY, USER_NAME_INVALID_LENGTH, PASSWORD_EMPTY, PASSWORD_MIN, EMAIL_EMPTY_OR_INVALID, USER_NAME_EXIST,
		CARGA_HORARIA_INVALID, TITULACAO_INVALID};

	private ERROR error;

	public GerenciamentoEscolaException(ERROR error) {
		this.error = error;
	}
	
	public ERROR getError() {
		return error;
	}

	public void setError(ERROR error) {
		this.error = error;
	}

	
}
